ftp

Auto Transfer of logs from server to server

Hey, I was wondering how to use php to do an auto transfer of log files weekly from one server to a cloud account. I have all the passwords and what not, I am just confused on how to set this file up. As a site I am running stores log files, we are trying to "push" them weekly to our cloud storage. Any help would be appreciated. ...

PHP: list files on ftp server?

howdy, can't get it done! <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>FTP Download</title> </head> <body> <?php set_time_limit(300);//for setting $path='/userupload'; $ftp_server='202. …'; $ftp_server_port="21"; $ftp_user_name='al…';...

How to check FTP connection?

Is there a simple, fast way to check that a FTP connection (includes host, port, username and password) is valid and working? I'm using C#. Thank you. ...

C# FTP File Integrity Check

Hi everyone, how do we know if the file downloaded from FTP is not corrupt? The FTP server does not provide any checksums of their files or is there a checksum command? Any other ways of checking downloaded file's integrity? Thanks. ...

Fields and codes in Apache FTP log

Hi folks, Where can I find information about the fields and codes in Apache's FTP logs? I am curious about what the "189" here means and the "a _ o r" also. Sun Jul 04 14:29:37 2010 0 xx.xxx.xx.xxx 189 /foo/bar/baz.php a _ o r [email protected] ftp 1 * c My google-foo failed me in locating this info. Where can I read up on these codes?...

PHP: small FTP browser?

hi guys, i need your help/tips and tricks and foremost an approach on how to start with my little project. I'm trying to build kind of a little ftp browser. all files (and folders) in a specific folder on my ftp-server should get listed underneath. if there is a file and i click it, a download prompt should be triggered. if i click on a ...

HOW TO GET: Time Zone Setting of FTP Server?

I'm using PHP's ftp_rawlist function to get a listing of files and their associated last-modified date/time. For my purposes, I need to know the time zone (or offset) of the the last-modified date/time. The dates/times alone are useless to me as I need to convert them to UTC. Is there anyway to figure out what the FTP server's time zone...

how to login to ftp from vb script

I am trying to login to an FTP server from VB script and execute some commands. manually we login to ftp server with: ftp my.server.name Enter Uname: _ Enter Pwd: _ uname and pwd are prompts for the user. How can I do this from VB script? if there was a way to login to a ftp server by supplying uname and pwd in the same line then ...

Apache commons.net.ftpclient on Linux

I am using org.apache.commons.net.FTPClient to upload/download/list files using FTP. The server daemon is vsftpd running on CentOS 5.4, and the apache package is 2.0 It seems that all the mentioned operations perform well on the server (judging by the log vsftpd.log) where files are uploaded, the download command is received, so does th...

FTP an image over a TCP/IP wireless connection from a Windows Mobile 6 device

I have a mobile application that needs to FTP an image over a wireless TCP/IP connection to a server. I have searched the internet for resources only to find that some of the popular ways to do this are not supported by the dot net compact framework (such as System.Runtime.Remoting). Is using TCP/IP a viable solution or is there another ...

Is is possible to create a custom view when accessing ftp folders through a browser?

I have a number of ftp accounts on my website where each account is accessible by a limited number of people. The accounts can be accessed for download by going to ftp.mysite.com in a browser. I would like to make the directory display look like the rest of the site when people goto ftp.mysite.com. Is this possible? Edit: Not using any...

MAMP: local-environment … connecting to ftp won't work?

hey guys, i love working with mamp ( i have the pro version). i'm currently trying to connect to a ftp server and list the files up there. however the connection is successful but it won't list the files. $contents = ftp_nlist($conn_id, $path); returns bool(false) however the script is working if i run it on my real webserver. is th...

PHP: prompting download from ftp?

hy guys, i really need your help. i've succesfully connected to ftp server via php. i'm listing all files that are on the server. if i click a file the browser should prompt a download window to download the file. i've absolutely no idea how to do that. which method am i going to use. ftp_get kind of confuses me. it says i have to decl...

Use bluetooth and FTP to transfer files from PC to handset?

I have a Windows XP PC and a handset that supports FTP file transfers via bluetooth. Note that I cannot run python on the handset. Is there a way to transfer files from the PC to the handset using Python and the appropriate Bluetooth extension module? Right now, I am doing it manually by navigating to the handset using Windows Explorer a...

Encrypted FTP Storage

I guess this is kind of a programming question, because I'm going to write a program if this doesn't exist. So I found a very cheap web-host (I don't really care about the actual web hosting). They will give me a domain name and ftp server with a ton of storage space. Anyway, I want to backup a few hundred gigs of data (mostly family ph...

Rookie Python-questions [closed]

Hey! Is it possible to make python run on your homepage? I know, this is a really stupid question but please don't pick on me for my stupidity :) If it is possible, how? Do you have to upload/install the executing part of Python to you website using FTP? or...? Edit: Just found out my provider does not support python and that shell ac...

Loging into an FTP with .NET

On the WebClient page i see the following By default, the .NET Framework supports URIs that begin with http:, https:, ftp:, and file: scheme identifiers. The FTP i am using requires a login. How do i login with WebClient to download a file? ...

List all names of files in a Web directory (uploads) using protocol HTTP

Hello! I'm trying to list all files (. DOC and. PDF) contained in a specific Web directory. The problem is that I do not have access. I can only download with the full path of the file. Example: Directory 1: http://xxx.site.com/uploads/local20/40 Files: 45677.pdf 54354.doc 65767.doc 54354.pdf 43243.pdf ... Directory 2: h t t...

PHP Timeouts and FTP function

In implementing the backup script I described in this serverfault question, I ran into some timeout issues that have prompted optimizations to the code (namely, backing up one file per execution of the script and doing everything I can to minimize the number of file-hashes I am calculating over the very large data files). So far, that ...

Upload with FTP a form file in PHP

I have this form: <form action="after.php" method="post" id="divulgacao"> <div style="float: left;width: 195px; margin-right: 10px;"> <p class="pdados">Your name</p> <input class="campodivulgue" name="titulo" type="text" /> </div> <div style="float: left;width: 195px; margin-right: 10px;"> <p class="p...