ftp

Getting the contents of a file with PHP FTP

I am trying to get the contents of a file on a remote FTP server through PHP. Looking at all the docs though it doesn't appear possible to do this without first saving the transferred file to disk and then opening it. Is there any way of reading the file straight into a variable or buffer without having to save it to disk first? Thank...

Java SFTP Transfer Library

Hi I'm looking for a dead simple Java Library to use for SFTP file transfers. I don't need any other features beyond that. I've tried Zehon's, but it's incredible naggy, and I think 8 jar files is a bit crazy for so little functionality as I require. And the library have to be free (as in free beer), and preferable Open Source (not a ...

Advice regarding either a web based FTP or a File Sending service

I could use some advice. I'm building a website in which the general user needs to be able to transfer files to the site administrator. It could be done one of two ways: 1] Some kind of web based interface - PHP perhaps - to send files to the FTP. I've done some Googling but have yet to come up with anything concrete that works. I'v...

ftp_connect returns NULL in PHP

I'm trying to use ftp_connect('ftp.is.co.za') [for example] in PHP 5 or higher (multiple different versions on different machines). I can use the ftp command from the shell in all cases successfully, so it's no a firewall or connectivity issue. I always get NULL as a result, and no errors, if the domain name is valid and serving FTP. I d...

Upload file to a remote server, how should I?

I am scratching my head about this. My scenario are that I need to upload a file to the company server machine(to a folder on c:) from our hosting one(totally different server). I don't know how I should do this. Any of you got tips or code on how this is done. Thanks Guys ...

Block file during uploading on FTP

Hi all! I have two services client and server. Client upload file on some ftp and server download it. So there can occur situation when client do not finish upload file and server already start download this file. In that situation i have cuted file. How can solve it? For example when i upload and at the same time download it using Fil...

netbeans ftp configuration

Hi, I've set up my FTP connection for my project, but when it uploads the file, it adds a directory named after the project to the uploads (which means it isn't going to the right folder). i.e. initial directory set to '/httpdocs'; no upload directory specified. I upload a file from my local folder: project name/library/script.ph...

Is there a way to edit and save files on an FTP server in Visual Studio 2008+?

I want to create a project and manage the files in Visual Studio 2008 on my computer, but I want VS to upload everything to an FTP server whenever I save the project, so that I can quickly compile and test my program on UNIX. I have been using BBEdit on my Mac, which has built-in FTP opening and saving, but I want to move over to Visual...

FTP works from CommandLine but not from Windows Explorer

I'm trying to connect from one server to another using FTP. By using command line, everything thing is ok. however when using Windows Explorer to browse to the FTP location i get timeout issue. I've tried connecting using a .net code, and I got the following exception The remote server returned an error: 227 Entering Passive Mode (192...

How do I distinguish files and folders on an FTP server

I want to list all files on an FTP server using PHP. According to RFC 959 the FTP command LIST is allowed to print arbitrary human-readable information on files/folders, which seems to make it impossible to determine the file type correctly. But how do other FTP clients manage to distinguish files and folders? Is there an unwritten stand...

Expect script, working for years, behaves unexpectedly with new Expect version

I recently migrated from a FreeBSD 4.x server to a FreeBSD 8.0 server. I am now using expect-5.43.0_3. I don't remember what the old version of expect is, and I can't quickly check, because the hard drive on the old system crashed within minutes of finishing the migration! (WHEW!) Anyway, I have an expect script that creates a zipped...

Upload Multiple FTP Files

Requirement, upload 1500 jpg images every night, the below code opens and closes a connection many times, I'm wondering if there is a better way. ...this is a code snippet, so there are variables here that are defined elsewhere Dim picClsRequest = DirectCast(System.Net.WebRequest.Create(ftpImagePath), System.Net.FtpWebRequest) Dim picC...

Embedded FTP Server with C#?

Is there any open source .NET-based (no Win32 native, ActiveX, COM+ etc) library so I will can easily set up a ftp server? It is going to be a ftp server that will update a SQL Server database, and not regular files. Thank you. ...

How to get current snapshot of MySQL Database Table and FTP it to remote server using PHP.

Here is the scenario: I get an CSV file, which has data1, data2, data3, data4(Add, Update, Delete), data5 and there are like 90000 entries in the CSV file, first line gives description of column like DATE AGE NAME STATUS(ADD, UPDATE, DELETE) TIME 1 01/02 23 Phil A 23:00:00 2 02/03 32 ...

Where do I find a good .NET library for synchronise files over FTP, HTTP and SMB

I need a .NET library to synchronise files from a server to a client (one way). Requirements: Should be a .NET library Needs to be deployed via ClickOnce (that is, no instalation, no COM etc.) Needs to support HTTP and/or FTP and/or SMB Open Source, Free or Commercial ...

FTP Server written in C#

Hello Devs, I stumbled accross this site today http://blogs.msdn.com/joelpob/archive/2004/02/16/74433.aspx which is a C# command line FTP server, unfortunately the download points to the old gotdotnet site which is now closed .. Does anybody know where I could find it, or another FTP Server implementation written in C# ? Thanks ...

iPhone: How to Share/Move Files from App Directories to Other Devices

Hello everyone I have an app which generates some files in the app directories I need users to be able to access the files from another device/computer via file sharing over wifi, using a web browser, a ftp client or some similar method. Can the iPhone act as a http server and ftp server by itself or do I need to do some programing to...

Gettin files from ftp using integraion services

I have a ftp task that takes files from a server looking for a especific file name generated with a expresion and its working fine. But, now i need to download every file in a specific folder no matter the name it has, but the ftp task ask me for a specific file name. How can i do this. tnks. ...

Syncing a site with a local machine?

I do my web development and testing on my laptop running an installation of xampp - I upload things to my host, but I always go through cpanel's file manager to do it. I realize that there's definitely a better way to go about it, but I need to be pointed in the right direction to do so, also other tips on how to manage stuff would be ap...

Whats wrong with my PHP ftp_put?

Hi, this is frustrating... I keep getting an error with my ftp_put: This the error: No such file or directory in /Users/xxxx/Documents/Work/something Is there any glaring errors in my code I'm blind to? $server = "79.170.40.xxx"; $connection = ftp_connect($server); $login = ftp_login($connection, "xxx.xxx.co.uk", "xxx"); if (!$con...