GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Does anyone know how to do this with FTP (https://gfy.com/showthread.php?t=764857)

marketsmart 08-30-2007 05:38 PM

Does anyone know how to do this with FTP
 
I cant figure out how to set up or if there is software available to automatically ftp out a local file on win 2003 server every hour up to a linux server....

anyone have any ideas?

marketsmart 08-30-2007 06:00 PM

bump.....

fris 08-30-2007 07:59 PM

schedule command and a little scripting

sortie 08-30-2007 09:07 PM

Can't do it on a FTP program and linear FTP will make the file jacked.

Solution:

cron job on Linux executes a script on Linux that uses http to get the file from script on Win, but checking the file for acsii to reformat for linux ascii file

In all, two scripts and one cron.

cost $200
contact tube at econfirmpro dot com

Masterchief 08-30-2007 09:46 PM

It actually is very much possible...

First, create a new text file with the following contents:

Code:

open ftp.yourdomain.com
yourusername
yourpassword
cd /public_html/
binary
prompt n
mput c:\lists\online814.txt
quit

Replace your username, password, domain and file path. And if you're uploading an ascii file, replace binary with "ascii". Save the file wherever you want using whatever filename you want, but for the sake of simplicity i'll just pretend you saved to c:\ftp.txt

Now, open up a administrative command prompt and run the following command:

Code:

schtasks /create /tn "FTP Backup" /tr "ftp -s:c:\ftp.txt" /sc MINUTE /mo 60
replace "c:\ftp.txt" with the path to wherever you saved the file and runthe command.

If all goes well, you should see a message saying "SUCCESS: The scheduled task "FTP Backup" has successfully been created."

bDok 08-30-2007 11:46 PM

Quote:

Originally Posted by sortie (Post 13012680)
Can't do it on a FTP program and linear FTP will make the file jacked.

Solution:

cron job on Linux executes a script on Linux that uses http to get the file from script on Win, but checking the file for acsii to reformat for linux ascii file

In all, two scripts and one cron.

cost $200
contact tube at econfirmpro dot com

:1orglaugh:1orglaugh:1orglaugh $200 bucks... shiiiiit man. be all trying to get your dick in some ass.:anon :anon :anon

Nookster 08-30-2007 11:56 PM

cron >> only way (securely).

sortie 08-31-2007 06:24 AM

Quote:

Originally Posted by bDok (Post 13013091)
:1orglaugh:1orglaugh:1orglaugh $200 bucks... shiiiiit man. be all trying to get your dick in some ass.:anon :anon :anon

Funny thing, I didn't see you offer to do it for less. :)

raymor 08-31-2007 12:32 PM

WS-FTP has a scheduler feature that will do that.


All times are GMT -7. The time now is 06:51 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123