-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Amit Sharma writes:
> Hi

> I have facing a strange problem while uploading data file using FTP in cron.

> I have made a script to upload 40GB approx tar.gz file to a FTP location.

> When I run the script in console, it works fine and uploads the file without 
> any issue.

> When I schedule it in cron and make it run automatically, FTP upload fails 
> with error :

> 426 Connection closed; Not Enough Disk Space. Aborting..

Are you sure the FTP user accounts being used for uploading the file in both
cases are same ? Also you can try enabling verbose login on your FTP client
and see where/how it is trying to upload ? and also verify the presence of
file at the desired location on FTP server when the cron job to make sure file
is being uploaded at right place.

HTH
- -- 
They who can give up essential liberty to obtain a little temporary safety,
deserve neither liberty nor safety.
  -- Benjamin Franklin, Memoirs of the life and writings of Benjamin Franklin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (FreeBSD)

iEYEARECAAYFAksUNqgACgkQHy+EEHYuXnQEdQCgg6/toh+86ZuRqUgxw+lZDB5r
krMAniGTBR6pQ2s+HZm17huV4+IDP3v6
=ofsw
-----END PGP SIGNATURE-----

_______________________________________________
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

Reply via email to